package com.zhangchuchu.neohealth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangchuchu.neohealth.entity.VisitLog;

import javax.servlet.http.HttpServletRequest;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface VisitLogService extends IService<VisitLog> {
    void recordVisit(HttpServletRequest request);
    List<Map<String, Object>> getLast7DaysVisits(LocalDate date);
}
